package org.bt.common.enums;

/**
 * Created on 2019/12/30
 *
 * @author tongw
 */
public enum Available {
    /**
     * 激活
     */
    TRUE(1),
    /**
     * 未激活或锁定
     */
    FALSE(0);

    private int value;

    private Available(int value) {
        this.value = value;
    }

    @Override
    public String toString() {
        return String.valueOf(value());
    }

    public int value() {
        return this.value;
    }
}
